const { defineConfig } = require('@vue/cli-service');
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    open: true, // 自动打开项目地址
    proxy: {
      '/api': {
        target: 'http://192.168.31.207:3000',
        changeOrigin: true,
        pathRewrite:{"^/api":"/api"}
      },
    }
  },
});

